From: Doug Torrance Date: Sun, 30 Oct 2022 13:40:50 +0000 (+0000) Subject: Link against libatomic for TBB check to prevent FTBFS on armel. X-Git-Tag: archive/raspbian/1.21+ds-3+rpi1~1^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0ed8a90f49b38be718e32395908abf41605768bb;p=macaulay2.git Link against libatomic for TBB check to prevent FTBFS on armel. Forwarded: https://github.com/Macaulay2/M2/pull/2528 Last-Update: 2022-06-14 Gbp-Pq: Name libatomic.patch --- diff --git a/M2/configure.ac b/M2/configure.ac index 77bbe9e..43b42f8 100644 --- a/M2/configure.ac +++ b/M2/configure.ac @@ -404,7 +404,8 @@ then AC_DEFINE(WITH_TBB,1,[whether the tbb library has been enabled by the build AC_SUBST(LIBTBB) dnl LIBTBB is usually set to -ltbb AC_LANG(C++) AC_CHECK_HEADER(tbb/tbb.h, - [AC_SEARCH_LIBS(TBB_runtime_interface_version,"tbb", + [LIBS="$LIBS -latomic" + AC_SEARCH_LIBS(TBB_runtime_interface_version,"tbb", LIBTBB=$ac_cv_search_TBB_runtime_interface_version, [AC_MSG_ERROR([tbb library not found])])], [AC_MSG_ERROR([tbb include file (tbb.h) not found])])